< previous page page_277 next page >

Page 277
0277-01.jpg
Figure 8.4.
The results of the descending 
ORDER BY clause.
0277-02.jpg
Figure 8.5.
Results of multiple-column 
ORDER BY clause.
The WHERE Clause
One of the most powerful aspects of the SELECT_FROM statement is its capability to control the content of the result set using the WHERE clause. There are two ways to use the WHERE clause to control the content of the result set:
· Use WHERE to limit the contents of a result set.
· Use WHERE to link two or more tables in a single result set.
Using WHERE to Limit the Result Set
The WHERE clause enables you to perform logical comparisons on data in any column in the data table. In its simplest form, the WHERE clause consists of the following:
WHERE column = value

 
< previous page page_277 next page >

If you like this book, buy it!